package com.genghis.rapidcrm.web.view;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xulixin
 */
public class HomeIndexView extends RapidIndexView {

    @Override
    public void process(HttpServletRequest request, HttpServletResponse response) throws Exception {
        RapidViewer viewer = this.getViewer(request);
        String moduleName = getModule(request);
        //$viewer->assign('HOME_PAGES', Home_Page_Model::getAll());
        //$viewer->assign('HOME_PAGE_WIDGETS', Home_Widget_Model::getAll());

        viewer.view("Index.tpl", moduleName, request, response);
    }
}
